# -*- coding: utf-8 -*-
# @Date    : 2022-01-23 13:27:09
# @Author  : BrightSoul (653538096@qq.com)


import os

def print_single(year):
    text_templ = f'''
    <el-collapse-item title="{year}" name="{year}">
      <PaperCard 
        v-for="(i,index) in year{year}"
        :key="index"
        :author  = "i.author"
        :aritcle = "i.aritcle"
        :journal = "i.journal"
        :pdfUrl  = "i.pdfUrl"
        :imgUrl  = "i.imgUrl"
      />
    </el-collapse-item>
    '''
    print(text_templ)

def print_year(year):
    text_templ = f'"{year}",'
    print(text_templ)


for i in range(2022,2010,-1):
    print_year(i)